package com.wangxiang.shop.member.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-04 21:34:29
 */
@Data
@TableName("member")
public class MemberEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private int userId;

	private String openId;

	private String name;

	private String password;

	private String mobail;

	private String email;

	private int sex;

	private int age;

	private String image;
	private String loginName;
	private int payPassword;
	private double balance;
	private String invalidText;
	private int status;
	private String invalidRemark;
	private int location;
	private int lineStatus;
	/**
	 * 返回给前端，后端判断用户是否第一次登录
	 * 0 新用户 1老用户
	 */
	@TableField(exist = false)
	private int registerCode;

}
